import request from '@/utils/request'

// 1. 封装接口
export const getSuggestion = function(params) {
  return request({
    method: 'GET',
    url: '/suggestion',
    params
  })
}

export const getSearch = function(params) {
  return request({
    method: 'GET',
    url: '/search',
    params
  })
}
